package com.yhsimon.dao;

import com.yhsimon.pojo.Book;

import java.util.List;

public interface BookMapper {
    int addBook(Book book);
    int deleteById(int id);
    int updateBook(Book book);
    Book queryBookById(int id);
    List<Book> queryAllBooks();
    List<Book> queryBooksByName(String bookName);
}
